package com.service.impl;

import com.bean.Admin;
import com.dao.AdminDao;
import com.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    AdminDao adminDao;

    @Override
    public Admin checkAdmin(String username, String password) {
        return adminDao.checkAdmin(username, password);
    }
}
